home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2002 July
/
07_02.iso
/
software
/
xq-xsetup
/
files
/
setup.exe
/
{app}
/
plugins
/
XQ Voodoo Banshee 2.xpl
< prev
next >
Wrap
Text File
|
2000-11-12
|
2KB
|
73 lines
"FILE"="Xteq Systems X-Setup Plugin 6.0"
"TYPE"="6"
"COUNT"="3"
"UIPATH"="Hardware\Video Cards\Voodoo Banshee"
"NAME"="OpenGL/Glide Settings"
"VERSION"="1.02"
"OSVERSION"="10101"
"LANGUAGE"="VBScript"
"TEXT 1"="Enable VSynch in OpenGL/Glide Mode"
"TEXT 2"="Enable MipMap dithering in OpenGL/Glide mode
"TEXT 3"="Enable 3dfx splash screen in OpenGL/Glide mode
"DESCRIPTION 1"="If "VSynch" is enabled, it will increase image quality. Enabling this feature may help fix graphic distortions in some games."
"DESCRIPTION 2"="If "MipMap" is enabled, it will increase image quality. Disable this feature it to increase performance."
"AUTHOR"="Xteq Systems"
"CONTACTURL"="http://www.xteq.com"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 1"=" "
"COMMENT 2"="Thanks to CptSiskoX for Voodoo Banshee settings."
sV1="HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\Display\0000\Glide\FX_GLIDE_SWAPINTERVAL" 'STR
sV2="HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\Display\0000\Glide\FX_GLIDE_LOD_DITHER" 'STR
sV3="HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\Display\0000\Glide\FX_GLIDE_NO_SPLASH" 'STR
Sub Plugin_Initialize
i=RegReadValue(sV1)
if i="1" then SetUiElement 1,true
i=RegReadValue(sV2)
if i="1" then SetUiElement 2,true
i=RegReadValue(sV3)
if i="0" or IsEmpty(i) then SetUiElement 3,true
End Sub
Sub Plugin_CheckData(ElementIndex)
End Sub
Sub Plugin_Apply(ElementIndex,ElementSubIndex)
b=GetUIElement(1)
if b=true then
i=1
else
i=0
end if
Call RegWriteValue(sV1,i,1)
b=GetUIElement(2)
if b=true then
i=1
else
i=0
end if
Call RegWriteValue(sV2,i,1)
b=GetUIElement(3)
if b=true then
i=0
else
i=1
end if
Call RegWriteValue(sV3,i,1)
Call Restart()
End Sub
Sub Plugin_Terminate
End Sub